<!DOCTYPE html><html lang="en"><head>
<base href="https://xeeam3tlv6jy6.ok.kimi.link">
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>Halcyon-Inspired Rendering Framework</title>
    <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&amp;family=Inter:wght@300;400;500;600&amp;display=swap" rel="stylesheet"/>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"/>
    <style>
        :root {
            --primary-color: #2c3e50;
            --secondary-color: #34495e;
            --accent-color: #3498db;
            --text-dark: #2c3e50;
            --text-light: #7f8c8d;
            --bg-light: #ecf0f1;
            --bg-white: #ffffff;
            --border-light: #e8e8e8;
            --shadow: 0 2px 10px rgba(0,0,0,0.1);
            --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: var(--bg-light);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        .header {
            background: var(--gradient);
            color: white;
            padding: 80px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            pointer-events: none;
        }

        .header h1 {
            font-family: 'Playfair Display', serif;
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .header .subtitle {
            font-size: 1.3rem;
            opacity: 0.9;
            position: relative;
            z-index: 1;
        }

        /* Navigation */
        .nav {
            background: var(--bg-white);
            padding: 20px 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 30px;
        }

        .nav a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            padding: 10px 20px;
            border-radius: 25px;
            transition: all 0.3s ease;
        }

        .nav a:hover {
            background: var(--accent-color);
            color: white;
            transform: translateY(-2px);
        }

        /* Main Content */
        .main {
            padding: 60px 0;
        }

        .section {
            background: var(--bg-white);
            margin-bottom: 40px;
            padding: 40px;
            border-radius: 15px;
            box-shadow: var(--shadow);
            border-left: 5px solid var(--accent-color);
        }

        .section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .section h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            color: var(--secondary-color);
            margin: 30px 0 20px 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Feature cards */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin: 30px 0;
        }

        .feature-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-card h4 {
            color: white;
            margin-bottom: 15px;
            font-size: 1.4rem;
        }

        .feature-card p {
            opacity: 0.9;
            line-height: 1.7;
        }

        /* Lists */
        .feature-list {
            list-style: none;
            padding: 0;
        }

        .feature-list li {
            padding: 12px 0;
            border-bottom: 1px solid var(--border-light);
            position: relative;
            padding-left: 30px;
        }

        .feature-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--accent-color);
            font-weight: bold;
            font-size: 1.2rem;
        }

        .feature-list li:last-child {
            border-bottom: none;
        }

        /* Download button */
        .download-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--gradient);
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            margin: 20px 10px;
        }

        .download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        }

        /* Footer */
        .footer {
            background: var(--primary-color);
            color: white;
            text-align: center;
            padding: 40px 0;
            margin-top: 60px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2.5rem;
            }
            
            .nav ul {
                flex-direction: column;
                gap: 10px;
            }
            
            .section {
                padding: 25px;
                margin-bottom: 25px;
            }
            
            .feature-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .section {
            animation: fadeInUp 0.6s ease-out;
        }
    </style>
<script src="https://statics.moonshot.cn/sdk/preview-widgets.min.js" defer=""></script></head>
<body>
    <header class="header">
        <div class="container">
            <h1>Halcyon-Inspired Rendering Framework</h1>
            <p class="subtitle">Modern rendering architecture for rapid prototyping and experimentation</p>
        </div>
    </header>

    <nav class="nav">
        <div class="container">
            <ul>
                <li><a href="#overview">Overview</a></li>
                <li><a href="#architecture">Architecture</a></li>
                <li><a href="#features">Features</a></li>
                <li><a href="#documentation">Documentation</a></li>
                <li><a href="#examples">Examples</a></li>
            </ul>
        </div>
    </nav>

    <main class="main">
        <div class="container">
            <!-- Overview -->
            <section id="overview" class="section">
                <h2><i class="fas fa-rocket"></i>Overview</h2>
                
                <p>A modern rendering framework inspired by the Halcyon architecture, designed for rapid prototyping and experimentation with real-time graphics. This framework provides a clean, type-safe API while maintaining the flexibility needed for cutting-edge graphics research and development.</p>

                <div class="feature-grid">
                    <div class="feature-card">
                        <h4><i class="fas fa-magic"></i>Minimal Boilerplate</h4>
                        <p>Clean API design reduces repetitive code for shader loading, pipeline setup, and render state management.</p>
                    </div>
                    <div class="feature-card">
                        <h4><i class="fas fa-sync-alt"></i>Live Reloading</h4>
                        <p>Hot reload shaders, textures, and models without application restart for rapid iteration.</p>
                    </div>
                    <div class="feature-card">
                        <h4><i class="fas fa-layer-group"></i>Modern APIs</h4>
                        <p>Target only modern graphics APIs (DX12, Vulkan, Metal) without legacy constraints.</p>
                    </div>
                    <div class="feature-card">
                        <h4><i class="fas fa-shield-alt"></i>Type Safety</h4>
                        <p>Strongly typed handles and compile-time checks prevent runtime errors.</p>
                    </div>
                </div>
            </section>

            <!-- Architecture -->
            <section id="architecture" class="section">
                <h2><i class="fas fa-sitemap"></i>Architecture</h2>
                
                <p>The framework consists of several key components working together to provide a powerful yet easy-to-use rendering system:</p>

                <h3><i class="fas fa-cogs"></i>Core Components</h3>
                <ul class="feature-list">
                    <li><strong>RenderBackend:</strong> API-specific implementations (DX12, Vulkan, Metal)</li>
                    <li><strong>RenderDevice:</strong> Logical GPU adapter abstraction</li>
                    <li><strong>RenderHandle:</strong> Type-safe resource handles with generational safety</li>
                    <li><strong>RenderCommand:</strong> High-level, API-agnostic commands</li>
                    <li><strong>ShaderArgument:</strong> Modern shader binding system</li>
                    <li><strong>RenderGraph:</strong> Automatic resource and barrier management</li>
                </ul>

                <h3><i class="fas fa-code"></i>Key Design Principles</h3>
                <div class="feature-grid">
                    <div class="feature-card">
                        <h4>Clean Abstraction</h4>
                        <p>High-level interfaces that hide API complexity while maintaining low-level access when needed.</p>
                    </div>
                    <div class="feature-card">
                        <h4>Performance Focus</h4>
                        <p>Efficient resource management, parallel command recording, and optimal GPU utilization.</p>
                    </div>
                    <div class="feature-card">
                        <h4>Developer Experience</h4>
                        <p>Intuitive APIs, comprehensive debugging tools, and rapid iteration support.</p>
                    </div>
                </div>
            </section>

            <!-- Features -->
            <section id="features" class="section">
                <h2><i class="fas fa-star"></i>Key Features</h2>

                <h3><i class="fas fa-magic"></i>Smart Resource Management</h3>
                <ul class="feature-list">
                    <li>Type-safe handles with generational safety</li>
                    <li>Automatic resource lifetime management</li>
                    <li>Transient resource optimization</li>
                    <li>Dynamic constant buffer allocation</li>
                </ul>

                <h3><i class="fas fa-sync-alt"></i>Live Reloading System</h3>
                <ul class="feature-list">
                    <li>Shader hot reloading with state preservation</li>
                    <li>Texture and model asset reloading</li>
                    <li>Incremental compilation support</li>
                    <li>Error handling and rollback mechanisms</li>
                </ul>

                <h3><i class="fas fa-chart-line"></i>Advanced Rendering</h3>
                <ul class="feature-list">
                    <li>Render graph with automatic barriers</li>
                    <li>Multi-threaded command recording</li>
                    <li>Compute shader integration</li>
                    <li>Debug and profiling tools</li>
                </ul>

                <h3><i class="fas fa-tools"></i>Developer Tools</h3>
                <ul class="feature-list">
                    <li>Comprehensive debugging utilities</li>
                    <li>Performance profiling integration</li>
                    <li>RenderDoc integration</li>
                    <li>ImGui debug overlays</li>
                </ul>
            </section>

            <!-- Documentation -->
            <section id="documentation" class="section">
                <h2><i class="fas fa-book"></i>Documentation</h2>
                
                <p>Comprehensive documentation is available to help you get started and master the framework:</p>

                <div class="feature-grid">
                    <div class="feature-card">
                        <h4><i class="fas fa-file-alt"></i>Framework Design</h4>
                        <p>Complete architecture overview and design principles.</p>
                        <a href="halcyon_rendering_framework.md" class="download-btn">
                            <i class="fas fa-download"></i>Read Design Doc
                        </a>
                    </div>
                    <div class="feature-card">
                        <h4><i class="fas fa-sitemap"></i>Component Relations</h4>
                        <p>Detailed component interactions and data flow.</p>
                        <a href="component_relationships.md" class="download-btn">
                            <i class="fas fa-download"></i>View Relations
                        </a>
                    </div>
                    <div class="feature-card">
                        <h4><i class="fas fa-code"></i>Development Guide</h4>
                        <p>Getting started guide and best practices.</p>
                        <a href="development_guide.md" class="download-btn">
                            <i class="fas fa-download"></i>Read Guide
                        </a>
                    </div>
                </div>
            </section>

            <!-- Examples -->
            <section id="examples" class="section">
                <h2><i class="fas fa-lightbulb"></i>Quick Examples</h2>

                <h3><i class="fas fa-cube"></i>Basic Render Pass</h3>
                <pre><code>class SimpleRenderPass : public RenderGraphPass {
public:
    void Setup(RenderGraphBuilder&amp; builder) override {
        colorTarget = builder.WriteResource(colorTarget, ResourceUsage::RENDER_TARGET);
    }
    
    void Execute(RenderContext&amp; context) override {
        context.commandList.SetRenderTargets({colorTarget});
        context.commandList.SetPipeline(pipeline);
        context.commandList.DrawIndexed(indexCount, instanceCount);
    }
};</code></pre>

                <h3><i class="fas fa-magic"></i>Shader Binding</h3>
                <pre><code>// Define shader arguments
ShaderArgument perFrameArg(0, perFrameCB, 0, perFrameViews);
ShaderArgument perObjectArg(1, perObjectCB, objectOffset, objectViews);

// Bind to command list
cmdList.SetShaderArguments({perFrameArg, perObjectArg});</code></pre>

                <h3><i class="fas fa-sync-alt"></i>Hot Reloading</h3>
                <pre><code>// Enable hot reloading
hotReloader-&gt;WatchDirectory(&#34;shaders/&#34;, &#34;.hlsl&#34;);
hotReloader-&gt;EnableHotReload();

// Process reloads in main loop
hotReloader-&gt;ProcessPendingReloads();</code></pre>
            </section>

            <!-- Getting Started -->
            <section class="section">
                <h2><i class="fas fa-rocket"></i>Getting Started</h2>
                
                <h3><i class="fas fa-download"></i>Prerequisites</h3>
                <ul class="feature-list">
                    <li>Modern C++ compiler (C++17 or later)</li>
                    <li>CMake 3.15+</li>
                    <li>Graphics API SDKs:
                        <ul>
                            <li>Windows: Windows SDK, DirectX 12 Agility SDK</li>
                            <li>Linux: Vulkan SDK</li>
                            <li>macOS: Metal framework</li>
                        </ul>
                    </li>
                </ul>

                <h3><i class="fas fa-hammer"></i>Building</h3>
                <pre><code>mkdir build &amp;&amp; cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release</code></pre>

                <h3><i class="fas fa-play"></i>Running Examples</h3>
                <pre><code>cd build
./examples/SimpleTriangle
./examples/DeferredRendering
./examples/PathTracing</code></pre>
            </section>
        </div>
    </main>

    <footer class="footer">
        <div class="container">
            <p>© 2024 Halcyon-Inspired Rendering Framework | Modern rendering architecture for rapid prototyping</p>
        </div>
    </footer>

</body></html>